mongodb check for array not empty query

97

mongodb check for array not empty query -

collection.find({ arrayElementName: { $exists: true, $not: {$size: 0} } })

Comments

Submit
0 Comments